import axioss from './request'
// 封装方法：对文章不喜欢
export function moreDislikes (id) {
  return axioss({
    url: '/app/v1_0/article/dislikes',
    method: 'POST',
    needToken: true,
    data: {
      target: id
    }
  })
}

// 举报垃圾内容
export function moreReports ({ id, type }) {
  return axioss({
    url: '/app/v1_0/article/reports',
    method: 'POST',
    needToken: true,
    data: {
      target: id,
      type: type,
      remark: ''
    }
  })
}
// 拉黑作者
export function moreBlacklists (id) {
  return axioss({
    url: '/app/v1_0/user/blacklists',
    method: 'POST',
    needToken: true,
    data: {
      target: id
    }
  })
}
